home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PRINTER / TSRPL18A.ARJ / TSRPLOT.DOC < prev    next >
Text File  |  1992-03-26  |  92KB  |  2,523 lines

  1.  
  2.  
  3.  
  4.                                                     A SHAREWARE
  5.                                                Plotting Utility
  6.  
  7.  
  8.                                   ┌─────────┐
  9.                             ┌─────┴───┐     │              (tm)
  10.                           ──│         │o    │──────────────────
  11.                             │   ┌─────┴╨──┐ │  Association of
  12.                             │   │         │─┘  Shareware
  13.                             └───│    o    │    Professionals
  14.                           ──────│    ║    │────────────────────
  15.                                 └────╨────┘    MEMBER
  16.  
  17.                                             Copyright (c) 1992 by
  18.                                                 J. Edward Ayliffe
  19.                                               All Rights Reserved
  20.                     
  21.  
  22.  
  23.  
  24.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.          
  25.  
  26.  
  27.  
  28.           2   Legal Stuff  . . . . . . . . . . . . . . . . . . . . . .    1
  29.           3   Support  . . . . . . . . . . . . . . . . . . . . . . . .    5
  30.           4   Introduction . . . . . . . . . . . . . . . . . . . . . .    6
  31.           5   Program Description  . . . . . . . . . . . . . . . . . .    8
  32.           6   File . . . . . . . . . . . . . . . . . . . . . . . . . .   12
  33.           7   Plotter  . . . . . . . . . . . . . . . . . . . . . . . .   13
  34.           8   Foreground . . . . . . . . . . . . . . . . . . . . . . .   17
  35.           9   Background . . . . . . . . . . . . . . . . . . . . . . .   19
  36.           10  Exit . . . . . . . . . . . . . . . . . . . . . . . . . .   20
  37.           11  Tips on using AutoPlot . . . . . . . . . . . . . . . . .   21
  38.           12  Popping back into TSRPLOT  . . . . . . . . . . . . . . .   24
  39.           13  Error Handling During Background Plotting  . . . . . . .   26
  40.           14  Command Line Parameters  . . . . . . . . . . . . . . . .   28
  41.           15  Trouble Shooting Guide . . . . . . . . . . . . . . . . .   32
  42.           16  Misc . . . . . . . . . . . . . . . . . . . . . . . . . .   35
  43.           17  System Requirements  . . . . . . . . . . . . . . . . . .   37
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.                                                                                
  85.  
  86.  
  87.  
  88.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  89.  
  90.  
  91.  
  92.           2   Legal Stuff
  93.  
  94.  
  95.           This product  uses the TesSeRact(TM) Ram-Resident Library and
  96.           supports the TesSeRact  Standard for  Ram-Resident Program 
  97.           Communication.  For information about  TesSeRact, contact  the
  98.           TesSeRact  Development Team at:
  99.  
  100.                                 Innovative Data Concepts
  101.                                 1657 The Fairways
  102.                                 Suite 101 Jenkintown, PA 19046
  103.  
  104.                                 Phone: 215-884-3373
  105.                                   CIS: 76702,1361
  106.                                   MCI: 315-5415
  107.                                   FAX: 215-886-4225
  108.  
  109.           This MCIMAIL  Account has  been provided  to the TesSeRact
  110.           Development Team by Borland International, Inc.  The TesSeRact
  111.           Development Team is in no  way associated with Borland
  112.           International, Inc.  TesSeRact is a trademark of the TesSeRact
  113.           Development Team.
  114.  
  115.           TSRPLOT.EXE and this document are both Copyright (c) 1992 by J.
  116.           Edward Ayliffe with the exception of the TesSeRact Library of Ram
  117.           Resident Routines which are Copyright TesSeRact Development Team.
  118.           I hold TesSeRact License #1091.
  119.  
  120.           YOU DO NOT HAVE PERMISSION TO DISTRIBUTE THE FILE TSRPLOT.EXE OR
  121.           TSRPLOT.DOC CONTAINED IN THE SELF EXTRACTING FILE TSRPLT.EXE. To
  122.           do so is a violation of Copyright. You may distribute the self
  123.           extracting file TSRPLT.EXE in any way you see fit provided it is
  124.           not altered in any way.
  125.  
  126.           TSRPLOT.EXE is and will remain, the property of J. Edward Ayliffe
  127.           at all times.
  128.  
  129.           I WILL NOT BE HELD RESPONSIBLE FOR ANY LOSS OF INCOME OR
  130.           LIVELIHOOD, DAMAGE TO PROPERTY OR ELECTRONIC DATA, HOWEVER
  131.           CAUSED, AS THE RESULT OF USING TSRPLOT.EXE. TSRPLOT IS SUPPLIED
  132.           AS IS. THE AUTHOR DISCLAIMS ALL WARRANTIES, EXPRESSED OR IMPLIED,
  133.           INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY
  134.           AND OF FITNESS FOR ANY PURPOSE. THE AUTHOR ASSUMES NO LIABILITY
  135.           FOR DAMAGES, DIRECT OR CONSEQUENTIAL, WHICH MAY RESULT FROM THE
  136.           USE OF TSRPLOT. YOU LOAD TSRPLOT.EXE INTO YOUR COMPUTER MEMORY
  137.           AND PRESS THE HOT KEY ENTIRELY AT YOUR OWN RISK. TSRPLOT.EXE IS
  138.           NOT GUARANTEED TO BE BUG-FREE, OR IN FACT, TO DO ANYTHING. IT MAY
  139.           WORK, OR IT MAY NOT.
  140.  
  141.           What is ShareWare?
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.                                        - 1 -
  150.  
  151.  
  152.  
  153.  
  154.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  155.  
  156.  
  157.  
  158.           Shareware distribution gives users a chance to try software
  159.           before buying it. If you try a Shareware program and continue
  160.           using it, you are expected to register it. It is as simple as
  161.           that. 
  162.  
  163.           Copyright laws apply to both Shareware and commercial software,
  164.           and the copyright holder retains all rights, with a few specific
  165.           exceptions as stated below. Shareware authors are accomplished
  166.           programmers, just like commercial authors, and the programs are
  167.           of comparable quality. (In both cases, there are good programs
  168.           and bad ones!) The main difference is in the method of
  169.           distribution. The author specifically grants the right to copy
  170.           and distribute the software, either to all and sundry or to a
  171.           specific group. 
  172.  
  173.           Shareware is a distribution method, not a type of software. You
  174.           should find software that suits your needs and pocketbook,
  175.           whether it's commercial or Shareware. The Shareware system makes
  176.           fitting your needs easier, because you can try before you buy.
  177.           And because the overhead is low, prices are low also. Shareware
  178.           has the ultimate money-back guarantee -- if you don't use the
  179.           product, you don't pay for it.
  180.  
  181.                                   ┌─────────┐
  182.                             ┌─────┴───┐     │              (tm)
  183.                           ──│         │o    │──────────────────
  184.                             │   ┌─────┴╨──┐ │  Association of
  185.                             │   │         │─┘  Shareware
  186.                             └───│    o    │    Professionals
  187.                           ──────│    ║    │────────────────────
  188.                                 └────╨────┘    MEMBER
  189.                     
  190.                     
  191.             J. Edward Ayliffe is a member of the Association of Shareware
  192.           Professionals (ASP).  ASP wants to make sure that the shareware
  193.           principle works for you. If you are unable to resolve a
  194.           shareware-related problem with an ASP member by contacting the
  195.           member directly, ASP may be able to help. The ASP Ombudsman can
  196.           help you resolve a dispute or problem with an ASP member, but
  197.           does not provide technical support for members' products. Please
  198.           write to the ASP Ombudsman at 545 Grover Road Muskegon MI
  199.           49442-9427 or send a Compuserve message via easyplex to ASP
  200.           Ombudsman 70007,3536.
  201.  
  202.           TSRPLOT is a "shareware program" and is provided at no charge to
  203.           the user for evaluation purposes only.  Feel free to share the
  204.           self extracting file TSRPLT.EXE with your friends and colleagues,
  205.           but please do not give it away altered or as part of another
  206.           system.  The essence of "user-supported" software is to provide
  207.           personal computer users with quality software without high
  208.           prices, and yet to provide incentive for programmers to continue
  209.           to develop new products.  If you find this program useful and
  210.  
  211.  
  212.  
  213.  
  214.  
  215.                                        - 2 -
  216.  
  217.  
  218.  
  219.  
  220.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  221.  
  222.  
  223.  
  224.           find that you are using TSRPLOT and continue to use TSRPLOT after
  225.           the 30 day trial period, you must make a registration payment of
  226.           $25 by certified cheque or money order to:
  227.  
  228.                        J. Edward Ayliffe.  
  229.                        RR#4 Shelburne Ontario
  230.                        Canada L0N 1S8
  231.                       
  232.           The $25 registration fee will license one copy for use on any one
  233.           computer at any one time.  You must treat this software just like
  234.           a book.  An example is that this software may be used by any
  235.           number of people and may be freely moved from one computer
  236.           location to another, so long as there is no possibility of it
  237.           being used at one location while it's being used at another, just
  238.           as a book cannot be read by two different persons at the same
  239.           time.
  240.  
  241.           Commercial users of TSRPLOT must register and pay for their
  242.           copies of TSRPLOT within 30 days of first use or their license is
  243.           withdrawn.  Site-License arrangements may be made by contacting
  244.           J. Edward Ayliffe at the above address. Anyone distributing
  245.           TSRPLOT for any kind of remuneration must first contact J. Edward
  246.           Ayliffe at the above address for authorization. This
  247.           authorization will be automatically granted to distributors
  248.           recognized by the ASP as adhering to its guidelines for shareware
  249.           distributors, and such distributors may begin offering TSRPLOT
  250.           immediately (However J. Edward Ayliffe must still be advised so
  251.           that the distributor can be kept up-to-date with the latest
  252.           version of TSRPLOT).
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.                                        - 3 -
  282.  
  283.  
  284.  
  285.  
  286.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  287.  
  288.  
  289.  
  290.  
  291.           This self extracting LHA file contains the following files 
  292.  
  293.              TSRPLOT.EXE    --    complete TSR executable
  294.              TSRPLOT.DOC    --    This file
  295.              REGISTER.FRM   --    Blank registration form
  296.  
  297.           You are encouraged to pass a copy of the self extracting LHA file
  298.           TSRPLT.EXE along to your friends or colleagues for evaluation. 
  299.           Please encourage them to register their copy if they find that
  300.           they can use it.  All registered users will receive a copy of the
  301.           latest version of TSRPLOT as described below.
  302.            
  303.           Upon receipt of the completed registration form (contained in the
  304.           file REGISTER.FRM) and the registration fee, J. Edward Ayliffe
  305.           will supply to the sender, by first class mail, a disk with the
  306.           latest revision to TSRPLOT.EXE as well as a laser printed copy of
  307.           this documentation file. 
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.                                        - 4 -
  348.  
  349.  
  350.  
  351.  
  352.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  353.  
  354.  
  355.  
  356.           3   Support
  357.  
  358.           In addition, you can call me if you have problems, by telephone,
  359.           CIS CMail or surface mail, and you will be notified of revisions
  360.           and improvements.  Site licenses are available upon request for
  361.           corporate, government or commercial users. Development of TSRPLOT
  362.           involved many man months of work. Your support is required to
  363.           make the Shareware concept work. Only through user support can I
  364.           afford to maintain and improve this software.
  365.  
  366.           In the interest of helping you evaluate TSRPLOT, unregistered
  367.           users will be entitled to limited support during the 30 day trial
  368.           period as deemed appropriate by J. Edward Ayliffe. Registered
  369.           users are entitled to unlimited telephone, CIS Electronic Mail or
  370.           surface paper mail support.
  371.  
  372.           I can be reached in a number of ways as shown below
  373.  
  374.                                Compuserve Information Service
  375.           preferred ---->  ID number 70007,3536 by EPlex mail
  376.                               
  377.                                            by phone:
  378.                                      (residence) 519-925-5468
  379.                                       (cellular) 519-942-5355
  380.                                       (cellular) 519-942-5354
  381.  
  382.                                              or by paper mail
  383.  
  384.                                             J. Edward Ayliffe
  385.                                 RR#4 Shelburne Ontario Canada
  386.                                                       L0N 1S8
  387.  
  388.           Registrations should be sent by certified cheque or money  order
  389.           to the above paper mail address. You will get the fastest support
  390.           response if you contact me by electronic mail on Compuserve. I
  391.           check my EMail several times every day and will respond, usually
  392.           within hours of your message. 
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.                                        - 5 -
  414.  
  415.  
  416.  
  417.  
  418.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  419.  
  420.  
  421.  
  422.           4   Introduction
  423.  
  424.           TSRPLOT is a TesSeRact(TM) TSR (Terminate and Stay Resident)
  425.           utility for sending HP-GL (Hewlett Packard Graphics Language)
  426.           text files through a serial port to an RS-232 Hewlett Packard
  427.           plotter. Being a TSR, TSRPLOT can send HP-GL files to your
  428.           plotter in the background (much like the DOS program PRINT.COM
  429.           can send files to your printer in the background) while you
  430.           perform other tasks in the foreground. 
  431.  
  432.           TSRPLOT has been tested with the HP7475A, HP7550, HP7575, HP7580
  433.           and HP7596 series of plotters. It may or may not work with HP
  434.           compatible plotters or other HP series plotters. For non-HP
  435.           plotters to work with the plotter control structures in TSRPLOT
  436.           they have to respond, at a minimum, in an HP compatible way to
  437.           the following RS-232 Device Control Instructions and HP-GL
  438.           commands as documented in the "HP-GL/2 Reference Guide - A
  439.           Handbook for Program Developers" distributed by Hewlett Packard
  440.           through Addison-Wesley. Version 1.8 of TSRPLOT is now HP-GL/2
  441.           "aware" and supports all HP-GL/2 instructions including
  442.           poly-encoded commands. Throughout the rest of this document,
  443.           HP-GL also refers to HP-GL/2 unless noted otherwise.
  444.  
  445.              RS-232 Device Control Instructions:
  446.  
  447.                ESC.A -- Output Identification String
  448.                ESC.B -- Output Buffer Space Instruction
  449.                ESC.E -- Output Extended Error Instruction
  450.                ESC.J -- Abort Device Control Instruction
  451.                ESC.K -- Abort Graphic Instruction
  452.                ESC.L -- Output Buffer Size Instruction
  453.                ESC.O -- Output Extended Status Instruction 
  454.                ESC.S -- Output Allocated Memory
  455.  
  456.              HP-GL Commands:
  457.  
  458.                OO -- Output Options Instruction
  459.                OI -- Output Identification Instruction
  460.                PD -- Pen Down Instruction
  461.                PU -- Pen Up Instruction
  462.                SP -- Select Pen Instruction
  463.                PG -- Advance one full page
  464.  
  465.           Device Control Instructions are specific RS-232 instructions the
  466.           plotter will respond to immediately, as opposed to HP-GL
  467.           instructions which are queued in the buffer. For successful
  468.           graphics plotting the plotter used would, off course, have to be
  469.           HP-GL compatible with the instructions contained in your HP-GL
  470.           files.
  471.            
  472.           TSRPLOT has been tested with HP-GL files as generated by the
  473.           following programs:
  474.  
  475.             AUTOCAD
  476.  
  477.  
  478.  
  479.                                        - 6 -
  480.  
  481.  
  482.  
  483.  
  484.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  485.  
  486.  
  487.  
  488.             VERSACAD
  489.             QUATTRO PRO
  490.             LOTUS 123
  491.             SUPERCALC VERSION 5
  492.             IBMCAD
  493.             PRIMAVISION
  494.             COMPUTERVISION
  495.             ROCKWARE
  496.             GEM
  497.             MAPMASTER
  498.             ACADEMY
  499.             PSPICE
  500.             HSPICE
  501.             GENERIC CADD
  502.             AUTOSKETCH VERSION 3
  503.             PC-DRAFT-CADD
  504.  
  505.           When I say tested, I mean that it can successfully plot a least
  506.           one example of an HP-GL file from each of those software
  507.           packages. In a few cases, it is only one. 
  508.  
  509.           It may or may not work with other HP-GL files depending on how
  510.           much liberty the program generating the HP-GL file takes with the
  511.           HP-GL syntax. Plotting in the background and maintaining tight
  512.           control of the plotter, given the diversity of HP-GL file formats
  513.           (or more accurately, the lack of formats) is not a trivial
  514.           undertaking.
  515.  
  516.           I would appreciate feedback from anyone using TSRPLOT on other HP
  517.           or non-HP plotters.
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.                                        - 7 -
  546.  
  547.  
  548.  
  549.  
  550.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  551.  
  552.  
  553.  
  554.           5   Program Description
  555.  
  556.           As a TSR, you load TSRPLOT from the DOS prompt, after which it
  557.           resides in memory and watches for it's hot-key. Upon receipt of
  558.           the <ALT-P> hotkey sequence TSRPLOT will "pop-up" and you're
  559.           ready to begin.  To load TSRPLOT, log on to the drive\directory
  560.           containing the file TSRPLOT.EXE and enter that name. If TSRPLOT
  561.           successfully installs itself you will see the following message:
  562.  
  563.           TsrPlot V1.8 -- installed...<ALT-P> to activate.
  564.           Copyright (c) 1992 by Edward Ayliffe  All Rights Reserved
  565.  
  566.           RS-232 time-out set to 10 seconds.
  567.  
  568.           and the DOS prompt will return normally. If you hear a
  569.           distinctive "warble" when the message is displayed, TSRPLOT is
  570.           already loaded and the request to reload is ignored. If you have
  571.           a 386 computer running under Quarterdeck's Expanded Memory
  572.           Manager ( QEMM ) you can use their LOADHI utility to place
  573.           TSRPLOT above the 640k memory boundary (assuming a contiguous 69k
  574.           slot of RAM is free).  
  575.  
  576.           A Couple of Don'ts
  577.  
  578.           Don't load TSRPLOT into memory from a DOS shell. A DOS shell is
  579.           accessed from many applications with a "DOS" or perhaps a "
  580.           SYSTEM " or " SHELL " command. This will likely fragment DOSs
  581.           memory allocation and set you up for the BIG crash. Load TSRPLOT
  582.           before your main, non-TSR application. The TesSeRact Library is
  583.           very well behaved as TSRs go and the loading order with respect
  584.           to TSRPLOT of other TSRs shouldn't be a problem.
  585.  
  586.           Don't attempt to release TSRPLOT with the <F10> key while in a
  587.           DOS shell. It won't work.  Exit your main non-TSR application and
  588.           then use <F10> to release TSRPLOT.
  589.  
  590.           However, after you have loaded TSRPLOT correctly, it is quite
  591.           acceptable to ACCESS it from a DOS shell with the <ALT-P> hot
  592.           key, particularly if your main application is a graphics mode CAD
  593.           program. In fact, if you're running any graphics program this is
  594.           the best way to access TSRPLOT quickly to start a new plot, after
  595.           which you can return to the graphics program with the EXIT
  596.           command. Text mode programs you can "pop-up" directly over.
  597.  
  598.           The Menu
  599.  
  600.           The main menu greats you when you first pop into TSRPLOT or any
  601.           time you pop in and TSRPLOT is unoccupied. In the Shareware
  602.           version, for the first 5 seconds or until you press a key you
  603.           will see the registration reminder. Registered versions do not
  604.           have this "feature".
  605.  
  606.           The menu looks like this:
  607.  
  608.  
  609.  
  610.  
  611.                                        - 8 -
  612.  
  613.  
  614.  
  615.  
  616.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  617.  
  618.  
  619.  
  620.                   ┌──── TsrPlot V1.8 ── HP-GL/2 File Plot Utility ───╖
  621.                   │    <P>:_Auto Feed - OFF    <B>uffer chk:_ON      ║
  622.                   │    <A>:_Auto Plot - OFF         <ALT-C>:_Color   ║
  623.                   │    <C>:_set COM port 1 or 2       <F10>:_Release ║
  624.                   │   Port:_COM2 @ 9600,8,n,1         Slice:_2 <0-9> ║
  625.                   │                                                  ║
  626.                   ╞═══════════════════ unoccupied ═══════════════════╣
  627.                   │                                                  ║
  628.                   │   File  Plotter  Foreground  Background  Exit    ║
  629.                   │                                                  ║
  630.                   ╘═══ Copyright E. Ayliffe - All rights reserved ═══╝  
  631.  
  632.  
  633.           You can use the <SpaceBar> the <Tab> key, or the arrow keys to
  634.           move the highlight to the selection you wish. Then press <Enter>
  635.           to execute that selection.
  636.  
  637.           The following keystrokes will perform additional functions:
  638.  
  639.           <P> : toggles the Auto Page Feed plotter. This is for use on
  640.           plotters which support roll or sheet feed paper. It is used
  641.           mainly in conjunction with the Auto Plot feature explained below.
  642.           If your plotter supports roll or sheet feed paper and you wish to
  643.           use that function, press <P>. If Auto Feed is OFF it is turned
  644.           ON. If ON, it is turned OFF.
  645.  
  646.           <A> : toggles the Auto Plot function. Auto Plot will permit you
  647.           to assign a directory for TSRPLOT to watch for new plot files. It
  648.           can be on any valid DOS drive\directory  including a network
  649.           drive. With Auto Plot engaged, when TSRPLOT sees a file matching
  650.           the file specification you entered at the - File - menu
  651.           selection, it will plot the file automatically in the background.
  652.           Press <A> to toggle the Auto Plot feature ON or OFF. For more
  653.           information on the Auto Plot function, it is essential that you
  654.           read the section "Tips on using Auto Plot" and "Command Line
  655.           Parameters"
  656.  
  657.           <B> : toggles the buffer checking logic in the plotting routines.
  658.           When <B>uffer chk:_ON is indicated, TSRPLOT will ask the plotter
  659.           how much buffer space is available in the plotter before sending
  660.           another "shot" of data from the HP-GL file. If there is less than
  661.           255 bytes free in the plotter, TSRPLOT returns control to the
  662.           foreground task and will idle until that minimum space is
  663.           available. This is the default condition. See "Command Line
  664.           Parameters" for more information.
  665.  
  666.           If <B>uffer chk:_OFF is indicated, TSRPLOT does no buffer
  667.           checking of the plotter. It always assumes that sufficient space
  668.           is available. The benefit achieved is greater throughput of HP-GL
  669.           data to the plotter because of the reduced communication
  670.           requirements between TSRPLOT and the plotter. However, this is a
  671.           double-edged sword as it were. If your plotter has only the
  672.           minimum 1024 byte (1kb) buffer, turning Buffer checking OFF is
  673.           generally not recommended as you greatly increase the chance that
  674.  
  675.  
  676.  
  677.                                        - 9 -
  678.  
  679.  
  680.  
  681.  
  682.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  683.  
  684.  
  685.  
  686.           TSRPLOT will overflow the plotter buffer with data and thereby
  687.           lose instructions and ruin the plot. There are exceptions
  688.           however. If your computer is on the slow side (ie not a 386 or
  689.           486 ) and your plotter is very fast and the HP-GL instructions in
  690.           your files execute on the plotter very quickly, you just might
  691.           get away with it. But the real intent of disabling the buffer
  692.           checking is for use on plotters with substantially more that the
  693.           standard 1kb buffer. The 7575A I now use for development has an
  694.           optional 1mb (megabyte) buffer. It is highly unlikely that
  695.           TSRPLOT can output data quickly enough to overflow that buffer.
  696.           It hasn't happened yet despite some sincere attempts to make it
  697.           happen. In a situation where you know your HP-GL file is smaller
  698.           than the buffer in your plotter, this is by all means the way to
  699.           go. 
  700.  
  701.           This function can be toggled ON and OFF by pressing <B> at the
  702.           menu. Initially, the default is ON but you can override that by
  703.           starting TSRPLOT with the command line switch /B. If you supply
  704.           the /B switch TSRPLOT will come up with buffer checking OFF.
  705.           Pressing <B> at the menu will still toggle the function.
  706.  
  707.           <C> : will toggle the COM port to be used for sending data to the
  708.           plotter from 1 to 2 or 2 to 1. All other COM port parameters can
  709.           be set by using the appropriate command line switch for changing
  710.           them. The defaults are 9600 baud, 8 data bits, 1 stop bit and No
  711.           parity. Regardless of how you set the COM port parameters in
  712.           TSRPLOT, your plotter has to be set the same. See "Command Line
  713.           Parameters" for more information.
  714.  
  715.           <ALT-C> : will toggle the display to black and white and back to
  716.           color. It will not work on monochrome displays. Monochrome
  717.           displays should automatically display black and white. However,
  718.           if you have trouble reading the menu, try it to see if it helps.
  719.           You can use the command line parameter /L to control the initial
  720.           color displayed. See "Command Line Parameters" for more
  721.           information.
  722.  
  723.  
  724.           <F10> : will unload TSRPLOT and recover the memory it is using. 
  725.  
  726.           Note however, that the TesSeRact routines will not de-allocate
  727.           the memory used by TSRPLOT unless:
  728.  
  729.           1) TSRPLOT is the last program in the interrupt chain for all the
  730.           interrupts the TesSeRact routines  re-direct, or in other words,
  731.           no other TSRs have been loaded after TSRPLOT and
  732.  
  733.           2) you were sitting at the DOS prompt when you popped into
  734.           TSRPLOT.
  735.  
  736.           If you press <F10> and both of the above conditions HAVE NOT been
  737.           met, you will render TSRPLOT dormant. It will no longer respond
  738.           to the <ALT-P> hot key. The memory it occupies WILL NOT be freed,
  739.  
  740.  
  741.  
  742.  
  743.                                        - 10 -
  744.  
  745.  
  746.  
  747.  
  748.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  749.  
  750.  
  751.  
  752.           however, until those conditions are met, at which time
  753.           de-allocation will take place. To obtain more information on
  754.           TesSeRact see section 2 - Legal Stuff.
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.                                        - 11 -
  810.  
  811.  
  812.  
  813.  
  814.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  815.  
  816.  
  817.  
  818.           6   File
  819.  
  820.           This selection works in one of two ways depending on whether or
  821.           not you have selected the Auto Plot function. When you press
  822.           <Enter> with Auto Plot ON  you will see an entry cell requesting
  823.           a path (as opposed to a file). You can enter any valid DOS path
  824.           on any drive. When you press <Enter> to accept your path you will
  825.           see all the directories on the drive you specified as well as any
  826.           file names that match the path. Cursor to the directory you wish
  827.           TSRPLOT to monitor and press <Enter> to select that directory. If
  828.           for example, you specified *.PLT as your path, TSRPLOT will show
  829.           you all the directories off of the current directory as well as
  830.           the <.> and <..> entries. The <.> will select the root directory
  831.           for that drive and the <..> will take you back one directory to
  832.           the parent of the current directory. When you press <Enter> on
  833.           any directory except <..>, that directory is selected for
  834.           monitoring. If you wish to select the root directory, you will
  835.           first have to select a directory off of the root and then select
  836.           the <.> entry in the current directory to take you back to the
  837.           root.
  838.  
  839.           After having selected a directory, any files matching the mask
  840.           you supplied will be plotted. If your mask was *.PLT and the
  841.           directory was C:\PLOTS then TSRPLOT will watch for any files
  842.           matching the mask C:\PLOTS\*.PLT. 
  843.  
  844.           With Auto Plot OFF, you again specify a mask or filename and then
  845.           select the entry that you wish to plot. 
  846.  
  847.           If you change the default drive/directory when selecting a file
  848.           or path, when you pop out, TSRPLOT will change it back to that
  849.           which existed when you popped in so that the underlying
  850.           application is not effected.
  851.  
  852.           TSRPLOT allocates only 1k of memory for filenames in the interest
  853.           of reducing RAM requirements as much as possible, which should be
  854.           enough for about 75 filenames. If more than 75 filenames are
  855.           available matching your mask, you will get an error window
  856.           telling you that all files may not have been read. Press <Esc> to
  857.           clear the error message (or just wait for 2 seconds and it will
  858.           go away by itself) and view the files that have been read. 
  859.  
  860.           TSRPLOT does not load the file at this point but only records the
  861.           path\filename. Therefore, if the file you are plotting is on a
  862.           floppy disk, do not remove the floppy until TSRPLOT is finished
  863.           plotting. You can press <Esc> at the file window to leave without
  864.           selecting a file. If a DOS error occurs it will be displayed in
  865.           the window. Press <Esc> to return to the menu after an error
  866.           display.
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.                                        - 12 -
  876.  
  877.  
  878.  
  879.  
  880.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  881.  
  882.  
  883.  
  884.           7   Plotter
  885.  
  886.           This can be used to ensure the plotter is out there and ready to
  887.           go. It presents the decoded status byte returned from the plotter
  888.           after the HP-GL command OS (Output Status), the plotter
  889.           identification string returned from the OI (Output
  890.           Identification) command (or ESC.A if OI fails), the options
  891.           installed as returned from the OO (Output Options) command, the
  892.           Extended Status returned by ESC.O and the configurable memory
  893.           allocation as returned by ESC.S. Press <Enter> to see a status
  894.           window on the plotter.  If you get an RS-232 error window then
  895.           the switches are not set correctly on the plotter, it is not on,
  896.           it is connected to the wrong COM port or the cable is wrong. I
  897.           only use a genuine HP cable, HP part number 17255D. The vast
  898.           majority of RS-232 problems stem from cable screw-ups. If you are
  899.           having problems that defy explanation, you may have a bum cable.
  900.           However, don't overlook the fact that you may be connected to the
  901.           wrong port or the plotter is not turned ON! It's real easy to do.
  902.  
  903.           ╒═══════════════════════════════════════════════════════════════╕
  904.  
  905.                CAUTION!! When you select - Plotter - TsrPlot
  906.                immediately     executes two Device Control Instructions.
  907.                These will abort  any plotting that is in progress and clear
  908.                all the plotter buffers. This is necessary to put the
  909.                plotter into a known state. So, if your plotter is still
  910.                finishing up the last  plot DON'T select - Plotter - or you
  911.                will stop the plotter  dead in its tracks and the data in
  912.                the buffers (your plot) will be lost.
  913.                
  914.           ╘═══════════════════════════════════════════════════════════════╛
  915.  
  916.           One user has reported intermittent problems when using one of
  917.           those hardware copy protection locks commonly referred to as 
  918.           "dongles" on the serial port  I would recommend you use another
  919.           serial port or remove the dongle if you have problems with
  920.           TSRPLOT and you are using one of those devices. If you get a
  921.           Plotter Information display window (as opposed to an error
  922.           window) then the plotter, cable and COM port are set-up are OK
  923.           and talking correctly with TSRPLOT.
  924.  
  925.           Accurate information on this display is dependent on the plotter
  926.           responding in an HP compatible way to a variety of HP-GL and
  927.           Device Control Instructions as shown previously. If you are using
  928.           a non-HP plotter, TSRPLOT may work erratically or not at all.
  929.  
  930.           On plotters with a model number lower than 7500, some of the
  931.           information displayed may be erroneous.
  932.  
  933.           You are advised to select - Plotter - before you attempt any
  934.           plotting for a couple of reason. TSRPLOT "wakes-up" assuming the
  935.           plotter has a buffer of at least 1024 bytes. Until you select -
  936.           Plotter - however, TSRPLOT has no way of knowing if this is true
  937.           or not for your particular plotter model. A couple of HP plotters
  938.  
  939.  
  940.  
  941.                                        - 13 -
  942.  
  943.  
  944.  
  945.  
  946.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  947.  
  948.  
  949.  
  950.           only have a buffer of 255 bytes (the 7470A is one example). If
  951.           you do not give TSRPLOT the opportunity to ask the plotter the
  952.           buffer size by selecting - Plotter - before you begin plotting
  953.           you may compromise the programs performance because of invalid
  954.           buffer size information. Many of the large HP plotters have
  955.           buffers well in excess of 1024 bytes. If TSRPLOT knows about the
  956.           large buffer size, it will attempt to make optimum use of it. In
  957.           most cases, you need only select - Plotter - once each time
  958.           TSRPLOT is initially loaded into memory for TSRPLOT to obtain the
  959.           buffer size. However, some of the more sophisticated plotters
  960.           have configurable buffers. If the application that created your
  961.           HP-GL files exploits this feature of the plotter, you are best to
  962.           select - Plotter - at the beginning of each session to ensure
  963.           accurate "up to date" buffer size information.  
  964.           The display screen is divided into four sections. Each is
  965.           described briefly below.
  966.  
  967.           To Left Corner:
  968.  
  969.           Contains the model number of the plotter, the Firmware Revision
  970.           level of the software in the ROM chips in the plotter and whether
  971.           of not the plotter is currently on line. On-line status is
  972.           determined by the plotter responding to HP-GL commands (as
  973.           opposed to Device Control Instructions). The large format
  974.           plotters go off-line when the paper lever is up.
  975.  
  976.           Bottom Left Corner:
  977.  
  978.           Displays the decoded status byte as returned by the HP-GL command
  979.           OS (Output Status) and the data returned by the Device Control
  980.           Instruction ESC.O (Output Extended Status). This section of the
  981.           display is active and real time. As you change conditions on the
  982.           plotter these indications will change accordingly. 
  983.  
  984.           The Last Error Read will display either None or an error number.
  985.           The error numbers are those returned from the plotter in response
  986.           to the HP-GL command OE (Output HP-GL Error) and/or the Device
  987.           Control Instruction ESC.E. Error numbers 0-9 are for HP-GL errors
  988.           and all others are for Device errors. A brief description of the
  989.           errors follows. For more detailed information consult your
  990.           plotter manual.
  991.  
  992.           ╒═══════════════════════════════════════════════════════════════╕
  993.  
  994.               Error Number                        Description
  995.  
  996.                   0       No errors (will show as None).
  997.                   1       Instruction not recognized.
  998.                   2       Wrong number of parameters.
  999.                   3       Out-of-range parameters.
  1000.                   4       Not used.
  1001.                   5       Unknown character set.
  1002.                   6       Position overflow.
  1003.                   7       Buffer overflow for polygons.
  1004.  
  1005.  
  1006.  
  1007.                                        - 14 -
  1008.  
  1009.  
  1010.  
  1011.  
  1012.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  1013.  
  1014.  
  1015.  
  1016.                   8       on small format plotters this
  1017.                           indicates a Vector was received while
  1018.                           pinch wheels were raised.
  1019.                           On large format plotters this is not used. 
  1020.                   10      output instruction received while another
  1021.                           output instruction is executing.
  1022.                   11      Invalid byte received after the ESC               
  1023.                           sequence in a Device Control Instruction.
  1024.                   12      Invalid byte received while parsing a Device
  1025.                           Control Instruction.
  1026.                   13      Parameter out of range.
  1027.                   14      Too many parameters received.
  1028.                   15      Framing, Parity or Overrun error.
  1029.                   16      Input Buffer overflow.
  1030.                   17      Baud Rate mismatch or possible cable error
  1031.                   18      I/O error of indeterminate cause
  1032.  
  1033.           ╘═══════════════════════════════════════════════════════════════╛
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073.                                        - 15 -
  1074.  
  1075.  
  1076.  
  1077.  
  1078.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  1079.  
  1080.  
  1081.  
  1082.  
  1083.           Top Right Corner:
  1084.  
  1085.           Displays the results of the HP-GL command OO (Output Options).
  1086.           The Clean Paper entry may be incorrect for some plotters models
  1087.           lower then 7500 as they do not all support that feature (the
  1088.           7475A springs to mind). 
  1089.  
  1090.           Bottom Right Corner:
  1091.  
  1092.           Displays the information returned from the Device Control
  1093.           Instruction ESC.S (Output Configurable Memory Allocation). This
  1094.           is for use only on those plotters that have configurable buffers.
  1095.           Many do not in which case the indications will all be NA (except
  1096.           Logical I/O Buffer and Total Memory). 
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.                                        - 16 -
  1140.  
  1141.  
  1142.  
  1143.  
  1144.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  1145.  
  1146.  
  1147.  
  1148.           8   Foreground
  1149.  
  1150.           This selection is the fastest way to plot your file, but you
  1151.           won't be able to do anything else with the computer while the
  1152.           file is being plotted. Press <Enter> here to send your file to
  1153.           the plotter. If you have not selected a file, you will be given
  1154.           the opportunity to do so first. If you get an RS-232 error, you
  1155.           have a port, cable or plotter incompatibility of some sort. I
  1156.           would recommend that you not try to plot the file without first
  1157.           having selected - Plotter - , but that's up to you.
  1158.  
  1159.           If all is going well, the plotter will pick up a pen and start
  1160.           plotting (7475As will shake the pen carousel to ensure the pens
  1161.           aren't sticking to the carousel, at least that's why I think it
  1162.           rattles like that). A status display shows you how much buffer
  1163.           space is left in the plotter and the plot progress. The buffer
  1164.           space should never drop below aprox 0.200 k (200 bytes), although
  1165.           this can vary a little depending on the size of the last HP-GL
  1166.           command sent to the plotter. TSRPLOT will idle until at least
  1167.           this minimum requirement is met. There is a chance that an HP-GL
  1168.           command could be larger than 200 bytes but that is unlikely. If
  1169.           so, you will see the buffer space drop to 0 momentarily and the
  1170.           plotter error light may come on. If that happens to you, I would
  1171.           like to see the plot file that does that.
  1172.  
  1173.           If you have disabled buffer checking, the buffer space will show
  1174.           as N.A.
  1175.  
  1176.           If for any reason you wish to stop the plot, the easiest way is
  1177.           to lift the paper lever on the plotter. You can also do it from
  1178.           the program by pressing <Esc>. It may take a second or two for
  1179.           the <Esc> to be recognized. When it is a verify window will open
  1180.           asking you to confirm you wish to abort the plot. Respond
  1181.           <Y>es/<N>o as required. If you respond <N>o plotting will resume
  1182.           were it left off. If you respond <Y> a second prompt will ask you
  1183.           if you wish to dump the plotter buffer. If you respond <Y>es to
  1184.           this prompt TSRPLOT will command the plotter to dump all data in
  1185.           the buffer and put the pen away. If you respond <N>o TSRPLOT will
  1186.           leave the plotter alone and allow it to complete plotting any
  1187.           data in the buffer.
  1188.  
  1189.           If, after starting a foreground plot you wish to transfer the
  1190.           plotting to the background, press <Enter>. When the plotter
  1191.           buffer empties to the 250 byte level, TSRPLOT will pop-out to the
  1192.           foreground task. If buffer checking is disabled, TSRPLOT will
  1193.           pop-out immediately.
  1194.  
  1195.           During plotting, the plotter error light should not come on
  1196.           unless an illegal HP-GL command is sent or you have found a file
  1197.           TSRPLOT cannot properly parse. TSRPLOT is very careful not to
  1198.           overflow the plotter buffer, and thereby lose instructions.
  1199.           However, TSRPLOT performs only rudimentary checking of the file
  1200.           for HP-GL correctness. More extensive checking would be very code
  1201.           intensive and complex. It merely applies its knowledge of the
  1202.  
  1203.  
  1204.  
  1205.                                        - 17 -
  1206.  
  1207.  
  1208.  
  1209.  
  1210.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  1211.  
  1212.  
  1213.  
  1214.           HP-GL language and syntax in parsing whatever text file you
  1215.           select. TSRPLOT will let you send ANY text file to the plotter if
  1216.           you insist on doing so, likely with bizarre results if it is not
  1217.           HP-GL syntactically correct. At the very least you will waste
  1218.           time, pens and paper. At worst, you might hang the system.
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.                                        - 18 -
  1272.  
  1273.  
  1274.  
  1275.  
  1276.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  1277.  
  1278.  
  1279.  
  1280.           9   Background
  1281.  
  1282.           This selection will allow to carry on with other tasks while your
  1283.           file is sent to the plotter. However it may take longer than
  1284.           foreground plotting. If you have not selected a file to plot you
  1285.           will be given the opportunity to do so first. When you make this
  1286.           selection, once TSRPLOT is satisfied that the plotter is out
  1287.           there and working and the file you selected is legitimate, it
  1288.           will automatically "pop-out" back to whatever you were doing
  1289.           before you originally popped-in with the hot key sequence.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.                                        - 19 -
  1337.  
  1338.  
  1339.  
  1340.  
  1341.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  1342.  
  1343.  
  1344.  
  1345.           10  Exit
  1346.  
  1347.           Press <Enter> here or just press <Esc> anywhere at the menu to
  1348.           pop out of TSRPLOT and back to the foreground task you
  1349.           interrupted when you popped into TSRPLOT. When you pop out this
  1350.           way, TSRPLOT remains in memory. 
  1351.  
  1352.           To unload TSRPLOT and recover the memory it is using, press <F10>
  1353.           at the menu. Note however, that the TesSeRact routines will not
  1354.           de-allocate the memory used by TSRPLOT unless:
  1355.  
  1356.              1) TSRPLOT is the last program in the interrupt chain for all
  1357.                the interrupts the TesSeRact routines re-direct, or in other
  1358.                words, no other TSRs have been loaded after TSRPLOT and
  1359.  
  1360.              2) you were sitting at the DOS prompt when you popped into
  1361.                TSRPLOT.
  1362.  
  1363.           If you press <F10> and both of the above conditions HAVE NOT been
  1364.           met, you will render TSRPLOT dormant. It will no longer respond
  1365.           to the hot key. The memory it occupies WILL NOT be freed, however, 
  1366.           until those conditions are met, at which time de-allocation will 
  1367.           take place.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.                                        - 20 -
  1403.  
  1404.  
  1405.  
  1406.  
  1407.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  1408.  
  1409.  
  1410.  
  1411.           11  Tips on using AutoPlot
  1412.  
  1413.           The Auto Plot feature can be very handy but there are a few
  1414.           things you should know about it before trying to use it. 
  1415.  
  1416.           When you select Auto Plot with the <A> keystroke from the menu or
  1417.           by using the /a command line parameter, once you pop-out, TSRPLOT
  1418.           will CONSTANTLY monitor the directory you have selected for files
  1419.           matching the mask specified. How often TSRPLOT examines the
  1420.           directory is dependent on the time slice setting. The lower the
  1421.           time slice number the more often TSRPLOT will check the directory
  1422.           over any given period of time. 
  1423.  
  1424.           If you have specified your mask as *.*, you MUST be certain that
  1425.           any files that are in, or appear in, the designated directory are
  1426.           legitimate HP-GL files. Files to be plotted can be either copied
  1427.           into the directory for plotting, or they can be created there by
  1428.           having your application program plot to disk with an appropriate
  1429.           path\filename. TSRPLOT won't check the contents of the files, but
  1430.           will attempt to plot any and all files that appear in the
  1431.           directory matching your mask. If the file is not an HP-GL file,
  1432.           all sorts of weird and wonderful things can happen, none of them
  1433.           very good. 
  1434.  
  1435.           TSRPLOT will NOT begin plotting the files in the designated
  1436.           directory until you pop-out by pressing <Esc> at the menu screen
  1437.           or by selecting - Exit - on the menu and pressing <Enter>. Once
  1438.           you pop-out, TSRPLOT will begin checking the directory you
  1439.           specified. When/if it finds a file matching your mask, it will
  1440.           check to be sure the file size is something other than 0 bytes.
  1441.           This is to ensure that the process that is generating the file
  1442.           has completed doing so. DOS does not update the file size in the
  1443.           disk directory until the file is closed, regardless of whether
  1444.           the file is being copied into the directory or being created
  1445.           there by an application program. TSRPLOT will therefore wait
  1446.           until the file shows a size other than 0 before attempting to
  1447.           open it and plot the contents. 
  1448.  
  1449.           Following is a step by step guide to follow when using Auto Plot
  1450.  
  1451.           1: When you first pop-in, press <A> to engage the Auto Plot
  1452.           function. The Auto Plot monitor will switch to ON. 
  1453.  
  1454.           2: Select - File - from the menu and press <Enter>. An entry cell
  1455.           will open with the label Path:>. I would recommend that you
  1456.           merely type the drive letter followed by a colon and the file
  1457.           mask ie ->  C:*.plt.  This is the easiest way to select your
  1458.           directory. When the directory window opens, cursor to the
  1459.           directory name you want and press <Enter>. Filenames will be
  1460.           listed as well as directory names, however you will NOT be able
  1461.           to select an individual file, only directories. The filenames are
  1462.           listed only to give you a listing of the files currently in the
  1463.           directory. If you wish to plot a single file, turn Auto Plot OFF.
  1464.           In the above example, if the directory you selected was C:\PLOTS
  1465.  
  1466.  
  1467.  
  1468.                                        - 21 -
  1469.  
  1470.  
  1471.  
  1472.  
  1473.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  1474.  
  1475.  
  1476.  
  1477.           then TSRPLOT would plot any file ending in the extension .PLT
  1478.           that appears in the directory C:\PLOTS as indicated by the mask
  1479.           it displays -> C:\PLOTS\*.PLT.
  1480.            
  1481.           4: Once you have selected a valid directory, the Path:> monitor
  1482.           will display your selection. Ensure the Path:> monitor is
  1483.           displaying the directory\mask combination you wish to use before
  1484.           you pop-out.
  1485.  
  1486.           5: You are now ready to pop-out and begin Auto Plotting. Before
  1487.           doing so, however, ensure that your plotter is ON and has paper
  1488.           loaded. I would recommend you select - Plotter - from the menu to
  1489.           ensure the plotter is ready to go BEFORE popping out. 
  1490.  
  1491.           6: Pop-out of TSRPLOT and get ready for the fun to begin. If/when
  1492.           TSRPLOT finds a file in the directory you specified and if Auto
  1493.           Feed is OFF, TSRPLOT will begin beeping at you. It is waiting for
  1494.           you to press one of two keystrokes. These two keystrokes are
  1495.           <CTRL-F10> or <CTRL-END>. Press <CTRL-F10> to allow TSRPLOT to
  1496.           begin plotting. Press <CTRL-END> to abort Auto Plotting if you
  1497.           have changed your mind. This is your last reminder to ensure the
  1498.           plotter is ready to go. If Auto Feed is ON, TSRPLOT will begin
  1499.           plotting automatically without beeping. 
  1500.  
  1501.           7: Once the plotter begins plotting, you can pop back into
  1502.           TSRPLOT to monitor the plot progress or change the time slice if
  1503.           you want to. You are now for all intents and purposes in
  1504.           Background plot mode and all keystrokes and conditions described
  1505.           under Popping Back into TSRPLOT are applicable. You can abort the
  1506.           plot by lifting the paper lever on the plotter (not the best way,
  1507.           but it will work) or by pressing <Esc>. Once the plot is
  1508.           complete, TSRPLOT will delete the file it just plotted. If you
  1509.           are popped-up when the file completes plotting, TSRPLOT will NOT
  1510.           start the next file until you pop-out again. 
  1511.  
  1512.           8: When a file completes plotting in the background, once the
  1513.           plotter buffer is empty and the plotter is ready for the next
  1514.           file, if Auto Feed is OFF, TSRPLOT will once again beep at you
  1515.           while it waits for either <CTRL-F10> or <CTRL-END>. If Auto-Feed
  1516.           is ON, TSRPLOT will send a PG; command (advance one full page) to
  1517.           the plotter and begin the next file without any user intervention
  1518.           required.
  1519.  
  1520.           9: You can use Auto Plot with ANY valid DOS drive, including a
  1521.           Network drive, but some types of drives perform better than
  1522.           others. Floppy disk are very slow and plotting from a floppy is
  1523.           possible, but a little cumbersome. I would recommend using a hard
  1524.           drive or better yet, a RAM drive. If you must use a floppy drive,
  1525.           using a disk caching program will help immensely. When using a
  1526.           floppy drive, it is normal for the drive light to remain on
  1527.           constantly, or nearly constantly, as a result of TSRPLOT's
  1528.           constant checking for new plot files. It is also safe to remove
  1529.           the floppy and insert another, provided TSRPLOT is not actually
  1530.  
  1531.  
  1532.  
  1533.  
  1534.                                        - 22 -
  1535.  
  1536.  
  1537.  
  1538.  
  1539.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  1540.  
  1541.  
  1542.  
  1543.           plotting a file. However, the new floppy will have to have an
  1544.           identical directory for TSRPLOT to find any new files on it if
  1545.           you are using a directory other than the root. 
  1546.  
  1547.           10: On the topic of networks I have a few comments. The plotter
  1548.           you are plotting to MUST be connected to the computer that is
  1549.           running TSRPLOT. You cannot plot from a computer running TSRPLOT
  1550.           over the network to the plotter, or to another computer
  1551.           supporting the plotter. TSRPLOT regularly interrogates the
  1552.           plotter during all plotting and this 2-way communication will not
  1553.           work over a network. You can however, have TSRPLOT monitor a
  1554.           drive\directory on the file server while it is running on a
  1555.           separate plot server...to which the plotter is attached through
  1556.           one of the plot server's RS-232 COM ports. In this fashion,
  1557.           anyone on the network can send their plot files to a directory on
  1558.           the file server, where TSRPLOT will pick them up and plot them on
  1559.           the plot server. You would however, have to be sure that the
  1560.           plotter is ready to plot at all times, or at least before you
  1561.           send your file to the file server. 
  1562.  
  1563.           In addition, in order for TSRPLOT to find your directories
  1564.           correctly on a network drive, you must include the line SHOW
  1565.           DOTS=ON in your SHELL.CFG file or in the NET.CFG, (assuming
  1566.           Novell 2.15 or 386). Otherwise, Netware will not display the .
  1567.           and .. directory entries which will make it difficult to select
  1568.           directories in Auto Plot mode. 
  1569.  
  1570.           11: If TSRPLOT encounters any problem at all with the plotter,
  1571.           the Auto Plot function is terminated and all plotting is stopped.
  1572.           For example, if you attempt to begin Auto Plotting and there is
  1573.           no paper loaded into the plotter or the plotter goes off line for
  1574.           any other reason, all plotting is stopped and the Auto Plot
  1575.           function is turned OFF. The current file, or any other files in
  1576.           the selected directory, are NOT deleted.
  1577.  
  1578.           12: When a plot is completed normally, that HP-GL file will be
  1579.           deleted from the disk before TSRPLOT moves on to the next file
  1580.           (if any). If you abort the plot from the keyboard by popping into
  1581.           TSRPLOT while it is plotting and pressing <Esc> to stop the plot,
  1582.           the file being plotted WILL NOT be deleted. 
  1583.  
  1584.           13: Finally, remember that if TSRPLOT is beeping at you and
  1585.           you're not sure why, pressing <CTRL-END> will shut it up and
  1586.           abort any plotting attempts. This can happen if you inadvertently
  1587.           pop-out with Auto Plot ON when you didn't really want it on. It
  1588.           happens to me on occasion. In addition, while TSRPLOT is beeping
  1589.           at you, ALL processes, foreground and background, are suspended. 
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.                                        - 23 -
  1601.  
  1602.  
  1603.  
  1604.  
  1605.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  1606.  
  1607.  
  1608.  
  1609.           12  Popping back into TSRPLOT
  1610.  
  1611.           While a background plot is underway, you can pop back into
  1612.           TSRPLOT at anytime (except over a graphics screen) with the
  1613.           hot key you selected to change the Time Slice, or stop the plot if 
  1614.           you need to. When you come back in and a background plot is 
  1615.           underway, TSRPLOT will immediately switch plotting to the 
  1616.           foreground routines.  A status screen will be displayed with the 
  1617.           plot status, and the status line at the bottom of the screen 
  1618.           outlines several keystroke options you have. These keystrokes are
  1619.           described below.
  1620.  
  1621.           <Esc> : is used to abort the plot. A window will open asking to
  1622.           verify that you really wish to stop plotting. Respond <Y>es to
  1623.           abort, <N>o to continue plotting.
  1624.  
  1625.           <Enter> : will pop you back out to the foreground task, at which
  1626.           time plotting will again be transferred to the background
  1627.           routines.
  1628.  
  1629.           <0>-<9> : means the numbers 0 up to 9. These will change the
  1630.           background Time Slicing factor once you pop back out to the
  1631.           foreground task. Nothing will happen (other than updating the
  1632.           Time Slice= information on the status line) until you pop out
  1633.           with <Enter>. The time slice setting gives you some control over
  1634.           how often TSRPLOT is granted control during background plotting.
  1635.           The default is 2. The minimum is 9, which will perceptibly slow
  1636.           background plotting to the benefit of the foreground task. With a
  1637.           setting of 1, TSRPLOT will be given the opportunity to process
  1638.           HP-GL commands approximately 2 or 3 times per second. A setting
  1639.           of 9 will reduce that to once every 2 or 3 seconds. These timings
  1640.           are accurate only if the foreground is sitting at the DOS prompt.
  1641.           Various foreground processes such as, but not limited to,
  1642.           intensive disk activity or computations, will effectively stop
  1643.           background plotting, regardless of the time slice setting, until
  1644.           these foreground processes are complete. 
  1645.  
  1646.           Setting this value correctly is crucial to successful background
  1647.           plotting. Finding the best value will require some trial and
  1648.           error on the users part. The "best" value for you is dependent on
  1649.           the type of files you have, the speed of your computer and the
  1650.           speed of your plotter. If you find that the plotter "stalls"
  1651.           frequently (pen stops in the middle of a plot for a moment or
  1652.           two) then reduce this value, thereby giving TSRPLOT more
  1653.           opportunity to keep the plotter buffer full. If you find the
  1654.           plotter is whizzing along just fine but the foreground task is
  1655.           sluggish, then try increasing this value. This will reduce
  1656.           TSRPLOTs access to the computer and will help improve foreground
  1657.           response. 
  1658.  
  1659.           Just remember, decreasing the Time Slice setting gives more time
  1660.           to TSRPLOT at the expense of the foreground. Increasing it
  1661.           reduces the time given to TSRPLOT to the benefit of the
  1662.           foreground.  
  1663.  
  1664.  
  1665.  
  1666.                                        - 24 -
  1667.  
  1668.  
  1669.  
  1670.  
  1671.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  1672.  
  1673.  
  1674.  
  1675.  
  1676.                A special condition exists for a Time Slice setting of 0.
  1677.           When you select 0, TSRPLOT will do its best to take over the
  1678.           computer. Many foreground tasks will literally grind to a halt.
  1679.           This setting is useful for obtaining absolutely maximum
  1680.           background plotting speed and little else. If you use TSRPLOT on
  1681.           a dedicated plot server, you will likely find this setting
  1682.           useful. However, attempting to perform any foreground task with a
  1683.           Time Slice setting of 0 will be very difficult or virtually
  1684.           impossible. You've been warned!
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.                                        - 25 -
  1733.  
  1734.  
  1735.  
  1736.  
  1737.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  1738.  
  1739.  
  1740.  
  1741.           13  Error Handling During Background Plotting
  1742.  
  1743.           Two types of errors can occur during a background plot, RS-232
  1744.           errors or disk file errors. Fortunately, neither is at all likely
  1745.           given the reliability of to-days hardware. In both case, you will
  1746.           hear a descending warble-like musical note. This is called a Tess
  1747.           Beep. If an RS-232 error occurs, the machine may seem to lock-up.
  1748.           It likely has not. TSRPLOT will wait 10 seconds for the proper
  1749.           plotter response to the last HP-GL command whether you are
  1750.           plotting in the background or the foreground. If the plotter has
  1751.           gone off line or otherwise has encountered some sort of a
  1752.           problem, unfortunately, this 10 second wait will suspend all
  1753.           foreground processes. It will effectively lock the machine. I
  1754.           experimented with a variety of ways to handle this (unlikely)
  1755.           situation. This only would happen if the plotter were turned off
  1756.           during a plot, or the RS-232 cable were disconnected during plot.
  1757.           But this is the lesser of all the evils. So keep this in mind if
  1758.           the plotter suddenly stops, is blinking it's error light and the
  1759.           computer seems locked up. When the time-out wait is complete, you
  1760.           will hear the Tess beep and the computer will again respond
  1761.           normally. If you have filled the keyboard buffer by thumping on
  1762.           it during the timeout wait, all those keystrokes will now be
  1763.           executed very quickly. If you hear a Tess Beep signifying a
  1764.           background error, the next time you pop into TSRPLOT with the
  1765.           hot key, you will be presented with the appropriate error
  1766.           message window. Press <Esc> to clear the error window. When
  1767.           TSRPLOT detects either of these errors during background
  1768.           plotting, the plotting is stopped, and the disk file and the
  1769.           serial port are closed. There are NO re-tries due to the
  1770.           complication involved in attempting to re-try when the plotter
  1771.           goes down.
  1772.  
  1773.           You may well ask the question, why would you set the time-out to
  1774.           10 seconds? Well, some HP-GL commands can take a very long time
  1775.           to execute, particularly large circles commands, area fills, area
  1776.           cross-hatches and particularly labelling that use the HP-GL
  1777.           command LB. This is especially true on the smaller plotters (7470
  1778.           and 7475). After every HP-GL command the plotter signifies
  1779.           successful completion. The 10 second is to prevent long HP-GL
  1780.           commands from causing a time-out while the computer waits for the
  1781.           response to the last HP-GL command. It also reflects my inherent
  1782.           conservatism in the interest of covering all the bases.
  1783.  
  1784.           You may in fact find that 10 seconds isn't long enough. If you
  1785.           hear a Tess Beep during Background plotting, the plotter stops,
  1786.           and when you pop back into TSRPLOT you are presented with an
  1787.           error window indicating an RS-232 timeout, the last HP-GL
  1788.           instruction took the plotter more than 10 seconds to execute. You
  1789.           can increase (or decrease) the timeout interval using a command
  1790.           line parameter. For example, to set the timeout to 2 minutes,
  1791.           start TSRPLOT with the following command:
  1792.  
  1793.                                   TSRPLOT 120
  1794.  
  1795.  
  1796.  
  1797.  
  1798.                                        - 26 -
  1799.  
  1800.  
  1801.  
  1802.  
  1803.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  1804.  
  1805.  
  1806.  
  1807.           Please note that the time interval must be in SECONDS, not
  1808.           minutes, ie 2X60=120 seconds and it must be separated from the
  1809.           program name by a space or a tab for it to be recognized. I would
  1810.           not advise going to an interval of less than 5 seconds as that
  1811.           will greatly increase the likelihood of time outs. You can go as
  1812.           big as you want (to a maximum of 32768, or over 9 HOURS!) but I
  1813.           don't see the point myself, to anything greater than what you
  1814.           need. I would suggest you just use the default of 10 seconds (no
  1815.           command line parameter) to begin with. If you have timeout
  1816.           problems, increase by 5 seconds or so and try again until you
  1817.           find a value that works for your applications. CAD programs
  1818.           generally don't use much more than the basic commands in their
  1819.           HP-GL files for flexibility and should work fine at 10 seconds,
  1820.           or maybe even a little less. Other programs may use the more
  1821.           complex (and time consuming) HP-GL commands (area fills, circles
  1822.           etc).
  1823.  
  1824.           The only other error window you may see will state:
  1825.  
  1826.                   "I/O error, no selected file or corrupt HP-GL file"
  1827.  
  1828.           This one error window covers a multiple of sins. You will get
  1829.           this display for any of the reasons below.
  1830.             1) A disk error (read, write, whatever) of any kind during a
  1831.           plot.
  1832.  
  1833.             2) you have just toggled from Auto Plot ON to Auto Plot OFF and
  1834.           you attempted to plot before having selected a file as opposed to
  1835.           a directory/mask left over from Auto Plotting.
  1836.  
  1837.             3) if TSRPLOT has encountered a truly nasty HP-GL file which it
  1838.           is having difficulty parsing. Don't overlook the possibility of
  1839.           the file being trashed. It's happened to me a couple of times.
  1840.  
  1841.           If the latter is the case, your plot files may not be compatible
  1842.           with TSRPLOT. The program cannot likely handle ALL HP-GL files,
  1843.           but I am confident that it will handle most. HP has left the
  1844.           syntax of HP-GL VERY loose. This makes it difficult to be certain
  1845.           of TSRPLOT's ability to plot ANY HP-GL file. If you have a plot
  1846.           file, that is to say, a legitimate HP-GL file as created by a
  1847.           Commercial or ShareWare program for any HP plotter, that chokes
  1848.           TSRPLOT, I'd like to see it, or, if it's proprietary, an example
  1849.           that will.
  1850.  
  1851.           TSRPLOT will strip all but a couple of Device Control
  1852.           Instructions from the HP-GL text file you are plotting. This is
  1853.           done to prevent DCIs in the HP-GL text file from altering the
  1854.           plotter mode and the communications parameters such as
  1855.           inter-character delay, terminating character, handshake mode etc
  1856.           which are all controlled by TSRPLOT. It should not affect the
  1857.           plot itself. However, you must ensure that the Y/D switch on the
  1858.           rear of your plotter is set to the D position. 
  1859.  
  1860.  
  1861.  
  1862.  
  1863.  
  1864.                                        - 27 -
  1865.  
  1866.  
  1867.  
  1868.  
  1869.           TSRPLOT v1.8 Copyright (c) 1991 E. Ayliffe.  All Rights Reserved.          
  1870.  
  1871.  
  1872.  
  1873.           14  Command Line Parameters
  1874.  
  1875.           A number of different command line parameters have been added
  1876.           beginning with version 1.8 to allow more automatic control of
  1877.           TSRPLOT during initial loading. Omission of any parameter or
  1878.           supplying a parameter that is out of range, causes the parameter
  1879.           to be ignored and the default value(s) shown, to be implemented.
  1880.  
  1881.           Parameters can be upper or lower case and MUST be preceded by ONE
  1882.           of the following characters to be recognized:
  1883.  
  1884.                  !  @  $  #  %  ^  &  *  |  ?  /  \  ~
  1885.  
  1886.           The backslash ( / ) is used for all examples. Parameters can be
  1887.           combined together in any order, but MUST be separated by a space
  1888.           or tab to be recognized.
  1889.  
  1890.           If NO command line parameters are used TSRPLOT loads and sets up
  1891.           as follows:
  1892.  
  1893.  
  1894.                      AutoPlot - OFF.
  1895.                      COM Port - COM2 9600,8,n,1.
  1896.                    Time Slice - 2.
  1897.                     File Path - C:\*.PLT.
  1898.                         Color - Depends on monitor detected.
  1899.                                 ON for CGA/EGA/VGA.
  1900.                                 OFF for monochrome VGA or MDA/Hercules.
  1901.                     Page Feed - OFF.
  1902.                       Hot Key - [Alt+P].
  1903.                      Time-Out - 10 seconds.
  1904.  
  1905.  
  1906.           As an example, the proper command line to set the default
  1907.           conditions shown above would be:
  1908.  
  1909.  
  1910.             TSRPLOT /c2 /d9600 /s8 /yn /i1 /k0 /t2 /hC:\*.plt /l1  10
  1911.              
  1912.                      |    |     |   |   |   |   |       |       |   |
  1913.               Set COM2    |     |   |   |   |   |       |       |   |
  1914.               Set 9600 baud     |   |   |   |   |       |       |   |
  1915.            Set wordsize to 8 bits   |   |   |   |       |       |   |
  1916.                    Set parity to none   |   |   |       |       |   |
  1917.                        Set stop bits to 1   |   |       |       |   |
  1918.                        Set hot key to [Alt+P]   |       |       |   |
  1919.                               Set Time Slice to 2       |       |   |
  1920.                                 Set file path to C:\*.PLT       |   |
  1921.                                                      Set Color ON   |
  1922.                                     Set RS-232 Time-Out to 10 seconds
  1923.  
  1924.           or just 
  1925.  
  1926.  
  1927.  
  1928.  
  1929.                                        - 28 -
  1930.  
  1931.  
  1932.  
  1933.  
  1934.           TSRPLOT v1.8 Copyright (c) 1991 E. Ayliffe.  All Rights Reserved.          
  1935.  
  1936.  
  1937.  
  1938.                TSRPLOT
  1939.  
  1940.  
  1941.           Command Line Syntax
  1942.  
  1943.           The syntax for loading TSRPLOT into memory is as follows:
  1944.  
  1945.           [drive:DOSpath\] TSRPLOT [/a] [/b] [/cx] [/dx] [/p] [/hx] [/ix]           
  1946.           [/kx] [/lx] [/sx] [/tx] [/yx] [?]
  1947.  
  1948.           Parameter Description
  1949.  
  1950.  
  1951.                /A  - sets AutoPlot to ON during initial load automatically.
  1952.                      The default mode is AutoPlot OFF (no /A command line
  1953.                      parameter) An example:
  1954.                  
  1955.                                   TSRPLOT /A
  1956.                
  1957.                     would cause TSRPLOT to load and automatically enable
  1958.                     AutoPlot mode. This has several ramifications you
  1959.                     should be aware.
  1960.                     
  1961.                   i) on an IBM-XT I use for compatibility testing, if files
  1962.                     exist matching the new mask and TSRPLOT is loaded from
  1963.                     AUTOEXEC.BAT, TSRPLOT will begin beeping even before
  1964.                     AUTOEXEC has completed executing. This will halt
  1965.                     execution of the batch file until you press either of
  1966.                     the two hot-keys [Ctrl-F10] or [Ctrl-End]. Otherwise no
  1967.                     ill effects appear and all program pointers are valid.
  1968.                
  1969.                     On the 386-33 I use for development this does not
  1970.                     occur. AUTOEXEC completes execution before TSRPLOT
  1971.                     begins beeping. At the moment I'm not sure exactly why
  1972.                     this difference exists unless it is strictly due to the
  1973.                     vast timing difference between the two machines or
  1974.                     perhaps due to a difference in the way various DOS
  1975.                     versions handle batch file execution (2.1 vs 5.0).
  1976.                     
  1977.                     In addition, if the plotter is not on and ready to
  1978.                     accept data and files exist matching the mask you
  1979.                     specified, TSRPLOT will abort any attempt to plot and
  1980.                     turn AutoPlot OFF. 
  1981.                     
  1982.                  ii)  When the /A parameter is used, upon initial load from
  1983.                     AUTOEXEC.BAT or from the DOS command line, TSRPLOT 1.8
  1984.                     will pop itself up once and then pop itself out
  1985.                     automatically. Again, on the IBM-XT this is very
  1986.                     noticeable. You will see the opening screen for a
  1987.                     moment and then it disappears. On my 386 it happens so
  1988.                     fast you may miss it if you aren't watching. On a 486 I
  1989.                     would be surprised if you see it at all.
  1990.                 
  1991.  
  1992.  
  1993.  
  1994.  
  1995.                                        - 29 -
  1996.  
  1997.  
  1998.  
  1999.  
  2000.           TSRPLOT v1.8 Copyright (c) 1991 E. Ayliffe.  All Rights Reserved.          
  2001.  
  2002.  
  2003.  
  2004.                     This initial pop up is crucial in order to ensure
  2005.                     certain memory pointers are properly initialized. It
  2006.                     will not cause any problems that I am aware of. At
  2007.                     present there is no other way to initialize these
  2008.                     pointers because their values are dependent on where
  2009.                     TSRPLOT physically loads into memory and I have no way
  2010.                     of knowing where that will be on any given computer.
  2011.                     
  2012.                     All this is necessary in the event you pop into TSRPLOT
  2013.                     after it has started AutoPlotting in the background
  2014.                     without ever having actually been popped up at the main
  2015.                     menu at least once. This is quite possible, if not
  2016.                     likely, given the new configuration. That initial
  2017.                     pop-up at the main menu is when the pointers are
  2018.                     initialized and validated.
  2019.                     
  2020.                /B - turns OFF buffer checking. The default is buffer
  2021.                     checking ON.
  2022.                
  2023.                /Cx - sets the COM port to be used, where x is either 1 or 2
  2024.                     corresponding to COM1 or COM2. The default is COM2.
  2025.                
  2026.                /Dx - sets the COM port baud rate, where x is one of the
  2027.                     following:
  2028.                
  2029.                                300
  2030.                                1200
  2031.                                2400
  2032.                                4800
  2033.                                9600
  2034.                
  2035.                     The default is 9600.
  2036.                
  2037.                 /P - sets the Automatic Page Feed function ON at initial
  2038.                     load.
  2039.                
  2040.                /Hx - sets the DOS path and file mask to your plot files,
  2041.                     where x is any valid DOS path/mask combination. An
  2042.                     example:
  2043.                
  2044.                                TSRPLOT /HC:\SPFILES\*.AC$
  2045.                
  2046.                     would set your DOS path and file mask to
  2047.                     C:\SPFILES\*.AC$. x cannot be more than 255 characters
  2048.                     in length. The default is C:\*.PLT.
  2049.                
  2050.                /Ix - sets the COM port stop bit value, where x is either 1
  2051.                     or 2. The default is 2.
  2052.                
  2053.                /Kx - sets the pop-up hot key used to activate TSRPLOT in
  2054.                     the event that the default of [Alt+P] conflicts with
  2055.                     another TSR you are using or conflicts with a keystroke
  2056.                     command in your main application. If none of these four
  2057.                     alternatives is useful, upon registration of the
  2058.  
  2059.  
  2060.  
  2061.                                        - 30 -
  2062.  
  2063.  
  2064.  
  2065.  
  2066.           TSRPLOT v1.8 Copyright (c) 1991 E. Ayliffe.  All Rights Reserved.          
  2067.  
  2068.  
  2069.  
  2070.                     program I will configure TSRPLOT for virtually any hot
  2071.                     key you wish, as the default. The four different hot
  2072.                     keys that can be set based on the value supplied by x
  2073.                     are as follows:
  2074.                                  
  2075.                           x=0     hot key is set to [Alt+P] (the default),
  2076.                           x=1     hot key is set to [Alt+RightShift+P],
  2077.                           x=2     hot key is set to [Ctrl+Alt+P],
  2078.                           x=3     hot key is set to [Ctrl+LeftShift+P].
  2079.                     
  2080.                /Lx - sets the screen mode color where x = 1 for color or x
  2081.                     = 0 for black and white.
  2082.                
  2083.                /Sx - sets the COM port word size, where x is one of the
  2084.                     following:
  2085.                
  2086.                                5,6,7 or 8.
  2087.                
  2088.                     The default is 8 bits.
  2089.                
  2090.                /Tx  - set the initial background time slice, where x is a
  2091.                     number from 0-9. An example:
  2092.  
  2093.                                   TSRPLOT /T5
  2094.  
  2095.                     would set the background time slice to 5 initially. The
  2096.                     default value for x is 2.
  2097.  
  2098.                
  2099.                /Yx - set the COM port parity value, where x is one of the
  2100.                     following:
  2101.                
  2102.                            N  -  No parity
  2103.                            E  -  Even parity
  2104.                            O  -  Odd parity
  2105.                
  2106.                           The default is [N]o parity.
  2107.                
  2108.                /? or ? - Entering TSRPLOT ? or TSRPLOT /? will display a
  2109.                     short help screen outlining all the command line
  2110.                     parameters and their syntax, however, if the /? or ?
  2111.                     command line parameter is included by itself or with
  2112.                     other parameters, TSRPLOT will NOT load into memory. It
  2113.                     will only display the help screen.
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123.  
  2124.                                        - 31 -
  2125.  
  2126.  
  2127.  
  2128.  
  2129.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  2130.  
  2131.  
  2132.  
  2133.           15  Trouble Shooting Guide
  2134.  
  2135.           This is a trouble shooting guide for the Shareware plotting
  2136.           utilities TSRPLOT and Plot-Line. Both programs use very similar
  2137.           control structures for communicating with plotters so these tips
  2138.           should apply to both programs except where noted.
  2139.  
  2140.           1) Cable should be of the following pin-out.
  2141.  
  2142.               25 pin RS-232C cable for IBM PC and compatibles
  2143.  
  2144.  
  2145.                 Computer (female)                               Plotter
  2146.           (male)
  2147.  
  2148.                       1 ═══════════════════════════ 1     GND
  2149.                       2 ═══════════════════════════ 3     SEND
  2150.                       3 ═══════════════════════════ 2     RCVE
  2151.                       5 ═══════════════════════════ 20
  2152.                       6 ═══════════════════════════ 20
  2153.                       7 ═══════════════════════════ 7
  2154.                      20 ═══════════════════════════ 6
  2155.                      20 ═══════════════════════════ 5
  2156.  
  2157.           I cannot guarantee any other cable configuration will work. This,
  2158.           by the way, is the exact same as the HP cable part number 17255D.
  2159.           The majority of problems to date stem from cable
  2160.           incompatibilities.
  2161.  
  2162.           2) you cannot use either program in an "eavesdropping"
  2163.           environment. An " eavesdropping " environment is one where other
  2164.           devices are connected to the same RS-232 cable or COM port as the
  2165.           plotter. The plotter must be attached directly to your COM port
  2166.           using the cable pin out shown with no other devices connected
  2167.           between the plotter and the computer or after the plotter.
  2168.  
  2169.           3) the " hardwire handshake " switch on the back of the plotter
  2170.           (if your plotter has one, not all of them do) must be turned OFF.
  2171.           The DIP switch labelled "Y" and "D" must be set to the "D"
  2172.           position. In addition, if you change the DIP switch settings on
  2173.           the plotter you must turn the plotter OFF and then back ON for
  2174.           those changes to take effect. HP plotters only read the DIP
  2175.           switches on power up. Any changes made while the plotter is on
  2176.           are not recognized.
  2177.  
  2178.           For the hp7575A plotter these DIP switch settings will work with
  2179.           either program.
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186.  
  2187.  
  2188.  
  2189.  
  2190.                                        - 32 -
  2191.  
  2192.  
  2193.  
  2194.  
  2195.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  2196.  
  2197.  
  2198.  
  2199.  
  2200.                                      (7) pen sort ═╕
  2201.                                  (6) eavesdrop ═╕  │  ╒═ (8) Expand
  2202.                     (4) parity (5) odd ═══╤══╕  │  │  │
  2203.                              ╒══Baud════╕ │  │  │  │  │  ╒══╤═══╤══(9-11)
  2204.                              │          │ │  │  │  │  │  │  │   │  always 0
  2205.                               0  1  2  3  4  5  6  7  8  9  10 11
  2206.                             ╒═════════════════════════════════════╕
  2207.                             │                                     │
  2208.                          1  │    ▓▓    ▓▓                         │ 1
  2209.                             │    ▓▓    ▓▓                         │
  2210.                             │ ▓▓    ▓▓    ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ │
  2211.                          0  │ ▓▓    ▓▓    ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ │ 0
  2212.                             │                                     │
  2213.                             ╘═════════════════════════════════════╛
  2214.                               0  1  2  3  4  5  6  7  8  9  10  11
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.           I have labelled the switches to assist you in adapting their
  2221.           settings to other plotter families if you are not using a 7575A.
  2222.  
  2223.             i) switches 9, 10 and 11 are for service only and should always
  2224.           be OFF (zero).
  2225.  
  2226.             ii) switch 7 in the ON (1) position will enable the pen sort
  2227.           buffer in the plotter. I have shown it OFF (0) here. Once proper
  2228.           operation is established you can likely turn it on without ill
  2229.           effects. However, be advised that in the ON (1) position, there
  2230.           could be a delay in the start of plotting on large drawings as
  2231.           the plotter waits for possible pen change commands. The plotter
  2232.           will wait until the buffer is full or until a pen change command
  2233.           is received. This can cause a conflict with either program
  2234.           because the software will not permit the buffer to fill to less
  2235.           than 255 bytes remaining. However, the plotter may not start
  2236.           plotting until the buffer is filled to a higher level than that
  2237.           if the pen sort switch is ON (1). The result can be a hung
  2238.           system. I am working on a solution to the problem. For the
  2239.           moment, it is recommended that the pen sort switch remain OFF (0)
  2240.           if the plotter seems reluctant to plot until proper function is
  2241.           achieved.
  2242.  
  2243.             iii) switch 8 is for Expand mode. Set it to OFF (zero)
  2244.           initially until proper function is obtained.
  2245.  
  2246.             iv) the Baud rate shown is for 9600. 
  2247.  
  2248.  
  2249.           ╒═ Please Note ═══════════════════════════════════════════╕
  2250.           │                                                         │
  2251.           │      Remember, if you change the switches you must      │
  2252.           │      cycle the plotter OFF and then ON for the new      │
  2253.  
  2254.  
  2255.  
  2256.                                        - 33 -
  2257.  
  2258.  
  2259.  
  2260.  
  2261.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  2262.  
  2263.  
  2264.  
  2265.           │      settings to take effect.                           │
  2266.           │                                                         │
  2267.           ╘═════════════════════════════════════════════════════════╛
  2268.  
  2269.           4) the large format plotters (model 7575 and up), go off-line
  2270.           when the paper lever is raised. This may cause a problem for
  2271.           Plot-Line (P-LINE.EXE).TSRPLOT should handle that situation, but
  2272.           the Plotter Information display will show only the plotter type
  2273.           and no other data. To avoid problems, turn on the plotter and
  2274.           load your media before attempting to plot with either program.
  2275.  
  2276.           5) if you are using one of the 7595/7596 series plotters and are
  2277.           having problems getting the programs to run I suggest having the
  2278.           plotter emulate the 7586 series. This can be done from the front
  2279.           panel on the 7595 series plotters. Check your manual for the
  2280.           proper procedure for implementing 7586 emulation on the 7595
  2281.           series.
  2282.  
  2283.           6) excessively long RS-232 cables (ie greater than 20 feet) can
  2284.           cause some sporadic problems although this is very rare. If
  2285.           possible use a shorter cable.
  2286.  
  2287.           7) two users have reported problems when using WYSE 386
  2288.           computers. I am attempting to solve those, but at the moment
  2289.           operation with WYSE 386 computers is problematical. I am not
  2290.           aware of any other hardware compatibility problems.
  2291.  
  2292.           8) ensure no other TSRs are loaded that are trying to grab the
  2293.           same COM port. SideKick v1.5b and perhaps other versions, have a
  2294.           nasty habit of resetting the COM ports every time they pop up.
  2295.           This may wipe out either program if they are performing I/O to
  2296.           the plotter when SideKick receives it's hot key. SideKick is a
  2297.           particularly ill behaved TSR as TSRs go.
  2298.  
  2299.  
  2300.                   ╒═════ Don't boot from strange floppies ═════╕
  2301.                   │                                            │
  2302.                   │   J. Edward Ayliffe                        │
  2303.                   │                                            │
  2304.                   │   Association of Shareware Professionals   │
  2305.                   │   Author Member                            │
  2306.                   │   ASP Ombudsman                            │
  2307.                   │                                            │
  2308.                   │   CompuServe PPN                           │
  2309.                   │            70007,3536 (ASP Ombudsman)      │
  2310.                   │                                            │
  2311.                   ╘═════════ Practice Safe Computing ══════════╛
  2312.  
  2313.  
  2314.  
  2315.  
  2316.  
  2317.  
  2318.  
  2319.  
  2320.  
  2321.  
  2322.                                        - 34 -
  2323.  
  2324.  
  2325.  
  2326.  
  2327.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  2328.  
  2329.  
  2330.  
  2331.           16  Misc
  2332.  
  2333.           If you press View on the plotter during a plot, either background
  2334.           of foreground, TSRPLOT will politely bleep at you twice per
  2335.           second until you release it by pressing the View button again, or
  2336.           45 seconds have elapsed. For the last 5 seconds it will bleep 8
  2337.           times per second. If you time out on the 45 second loop, the plot
  2338.           is ended, any data in the plotter buffer is dumped and the pen is
  2339.           put away. Additionally, if you are background plotting when you
  2340.           press View, all processes are stopped, foreground and background,
  2341.           until View is released or the time out occurs. 
  2342.  
  2343.           If you lift the paper lever during a plot, either background or
  2344.           foreground, the plot is immediately ended, any data in the
  2345.           plotter buffer is dumped and the pen is put away. You can use
  2346.           this as a very convenient way to quickly stop the plot.
  2347.  
  2348.           These may sound a little brutal, but it is necessary in order to
  2349.           maintain control of the plotter. If you start mucking about with
  2350.           the plotter during a plot, especially a background plot, TSRPLOT
  2351.           doesn't really like it much.
  2352.  
  2353.           TSRPLOT is a character mode program. It WILL NOT pop-up on top of
  2354.           a graphics mode screen. If you press the hot key when the screen
  2355.           is in any graphics video mode, all you will get is a Tess Beep.
  2356.           You can however, begin a background plot and then start an
  2357.           application that switches to a graphics mode. TSRPLOT will
  2358.           continue plotting in the background despite the foreground
  2359.           application running in a graphics mode. You just can't pop up
  2360.           until the video mode is switched back to a character mode. If you
  2361.           don't like my color selection, press <ALT-C> at the menu to 
  2362.           toggle to black and white. <ALT-C> again will switch back to
  2363.           color. This only works on CGA/EGA/VGA display cards and only
  2364.           while sitting at the menu. MDA/Hercules cards and VGA monochrome
  2365.           displays will not respond to <ALT-C>. Some CAD programs play with
  2366.           the VGA palette which can result in some truly hideous text mode
  2367.           color when they are finished.
  2368.  
  2369.           I developed TSRPLOT almost exclusively using an HP 7475A plotter
  2370.           and HP7575A. I know it works just splendidly on those plotter.
  2371.           For results on other plotter models I have had to rely on beta
  2372.           testers. If you have problems with TSRPLOT when using other HP
  2373.           plotters, I would very much like to know about it. If you are
  2374.           interested in beta testing future versions of TSRPLOT and you
  2375.           have a plotter other than a 7475A or 7575A, please contact me.
  2376.           All beta tester receive free registered copies of TSRPLOT in
  2377.           return for their beta test reports.
  2378.  
  2379.           I would be interested in feedback, bug reports, condemnations etc
  2380.           about TSRPLOT. I welcome suggestion for improvements. If you find
  2381.           that TSRPLOT won't properly plot your files please contact me as
  2382.           shown below. If you can supply a copy of the plot file I may be
  2383.           able to modify the program to handle it's unusual requirements.
  2384.           No guarantees, but I will try. 
  2385.  
  2386.  
  2387.  
  2388.                                        - 35 -
  2389.  
  2390.  
  2391.  
  2392.  
  2393.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  2394.  
  2395.  
  2396.  
  2397.  
  2398.           If you are a registered user and you encounter a file TSRPLOT
  2399.           will not correctly plot, I will revise the program to suit your
  2400.           requirements or refund your registration fee...your choice, on
  2401.           the condition, however, that you are willing to supply me with a
  2402.           copy of the HP-GL text file in question by electronic mail or on
  2403.           disk.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419.  
  2420.  
  2421.  
  2422.  
  2423.  
  2424.  
  2425.  
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.  
  2432.  
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449.  
  2450.  
  2451.  
  2452.  
  2453.  
  2454.                                        - 36 -
  2455.  
  2456.  
  2457.  
  2458.  
  2459.           TSRPLOT v1.8 Copyright (c) 1992 E. Ayliffe.  All Rights Reserved.
  2460.  
  2461.  
  2462.  
  2463.           17  System Requirements
  2464.  
  2465.           TSRPLOT has been tested on a genuine IBM-XT under PC-DOS 3.1, a
  2466.           Compaq DeskPro 286-8 under Compaq DOS 3.1, as well as a Dell
  2467.           System 310 under Dell DOS 3.3 and a number of no-name 386 clones
  2468.           running up to 33 mHz under MS-DOS 3.x, 4.x and 5.x.  With the
  2469.           exception of Compaq DOS 3.1, it runs fine on all of them.  Compaq
  2470.           DOS 3.1, particularly REV A, has a reputation for being a little
  2471.           "flaky" about TSRs in general and TesSeRact is no exception.
  2472.           TSRPLOT requires 256k RAM and DOS 3.0 or higher and at least 1
  2473.           floppy disk drive.
  2474.  
  2475.           I can be reached in a number of ways as shown below
  2476.  
  2477.                                Compuserve Information Service
  2478.           preferred ---->  ID number 70007,3536 by EPlex mail
  2479.                               
  2480.                                            by phone:
  2481.                                      (residence) 519-925-5468
  2482.                                       (cellular) 519-942-5355
  2483.                                       (cellular) 519-942-5354
  2484.  
  2485.                                              or by paper mail
  2486.  
  2487.                                             J. Edward Ayliffe
  2488.                                 RR#4 Shelburne Ontario Canada
  2489.                                                       L0N 1S8
  2490.  
  2491.           Registrations should be sent by certified cheque or money  order
  2492.           to the above paper mail address. You will get the fastest support
  2493.           response if you contact me by electronic mail on Compuserve. I
  2494.           check my EMail several times every day and will respond, usually
  2495.           within hours of your message. 
  2496.  
  2497.           I hope you find TSRPLOT useful.
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520.                                        - 37 -
  2521.  
  2522.  
  2523.